package sk.velkavrana.app.databaseInfo.dao;

import sk.velkavrana.app.databaseInfo.model.StorableObject;

import java.util.List;

/**
 * @author mtymes
 * @since Sep 21, 2009 10:29:35 PM
 */
public interface AbstractDao<T extends StorableObject<I>, I> {

    public List<T> getAll();


    public T getById(I id);


    public void save(T bean);


    public void remove(T bean);
}

